package com.cc.dao;

import com.cc.entity.Page;
import com.cc.entity.Transactions;

public interface TransactionsDao {
    //分页获取
    Page<Transactions> getTransactionsList(Page<Transactions> page, int userId);
    //获取总数
    int getTransactionsCount(int userId);
    //修改
    int edit(Transactions transactions);
    //添加
    int insert(Transactions transactions);
    //删除
    int delete(int id);
}
